<html>
<!--
Copyright (C) 2006 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<head>
<title>bookmarklet: Google Checkout - Yahoo! Stores Bridge Implementation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<p>This file contains a bookmarklet that can be used to test the
Yahoo! Stores / Google Checkout integration bridge on a Yahoo! Store
without modifying the store: the bookmarklet loads the bridge
Javascript code into the already-loaded store shopping-cart page to
add a "Checkout with Google" button to the page.</p>

<p>This file needs to be modified to work: the URL to the Javascript
file needs to be filled in with a correct URL for your hosted copy of
the add-checkout.js file. add-checkout.js and processCart.php will have
to be hosted and to function: see those files for details.</p>

<p>Drag this link
to your toolbar to install this bookmarklet, or right-click it and add
it as a bookmark:

<a id="add-checkout" href="javascript:
  (function(scriptUrl) {
    var scriptElem = document.createElement('SCRIPT');
    scriptElem.setAttribute('language','JavaScript');
    scriptElem.setAttribute('src', scriptUrl);
    document.body.appendChild(scriptElem);
  })('http://your-domain.com/add-checkout.js');
">Add Checkout</a>
<!-- EDIT_ME: fix URL above to point to hosted add-checkout.js -->
</p>
</body>
</html>
